﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace ListingClientSociété
{
    class Commandes
    {
        public Commandes()
        {
        }
        private string cPrixTotal;
        private string cNumeroCommande;
        private string cDateCommande;
        private string cModePaiement;
        private string cTypeLivraison;
        
        public static Commandes[] Tableau = new Commandes[0];

        public static void Ajouter(Commandes C)
        {
            Commandes[] Tableau2 = new Commandes[Tableau.Length + 1];
            Tableau.CopyTo(Tableau2, 0);
            Tableau2[Tableau2.Length - 1] = C;
            Tableau = Tableau2;
        }
    }
}
